Add vigil: Onchain security scanner for DeFi traders on Base#438
Add vigil: Onchain security scanner for DeFi traders on Base#438vigilcodes wants to merge 4 commits into
Conversation
The scripts called a REST API that doesn't exist (api.bankr.bot/vigil/...), so every command failed. Rewrite them against the live JSON-RPC endpoint (mcp.vigil.codes/tools/call) with a shared helper. - _vigil_lib.sh: strict 0x-address validation (anti shell-injection), chain validation, and vigil_call() that checks HTTP + JSON-RPC errors. - Rewrite token/honeypot/score/approvals/report to use vigil_call. - Add market, deployer, check-scam scripts for the new tools. - revoke + batch-revoke route signing through the Bankr agent. - report-scam: safe JSON escaping of the description. - SKILL.md: document 9 read-only tools; harden input validation and add an error-checked call helper across all steps. - Remove unused tokenomics reference. Verified live against $VIGIL and a real wallet.
|
Pushed an update that makes the skill actually functional end-to-end. What changed
Verified live against $VIGIL and a real wallet — e.g. Ready for review — thanks! |
|
Quick update for reviewers 🙏 VIGIL is now merged into the Aeon agent framework (aaronjmars/aeon#323) after a 3-round technical review — HTTPS endpoint, strict input validation, and verified end-to-end MCP calls all signed off. Two notes:
Ready for review whenever a maintainer has a moment. Happy to address any feedback. |
|
Superseded by #480, which reworks this into a single clean skill folder (vigil-security-scanner/) matching the current SKILL.md format spec: proper YAML frontmatter, 13 tools incl. the new liquidity lock scanner, 6-source consensus, and a focused api-reference. Closing this one to avoid duplication — please review #480 instead. Thanks! |
Summary
Adds VIGIL — an agent-based MCP security server for onchain DeFi protection on Base.
What It Does
BANKR_API_KEY+ explicit confirmation)The live endpoint now exposes 11 read-only tools (approvals, token scan, honeypot, safety score, wallet report, wallet monitor, market, deployer check, batch scan, scam check, sentinel status). Read-only scans need no API key.
MCP Integration
Runs as a standard MCP server (stdio/SSE). Compatible with Claude Desktop, Cursor, Aeon, and any MCP client. Plain JSON-RPC over
POST https://mcp.vigil.codes/tools/callis also supported for shell clients.Ecosystem
Files
SKILL.md— Full skill definition with task guidescripts/— shell scripts for CLI usage (hardened: strict^0x[0-9a-f]{40}$input validation, loud error handling)references/— API docs, contracts, tokenomics, Bankr integrationGitHub
https://github.com/vigilcodes/vigil-mcp
Website
https://vigil.codes